<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<html>
<head>
  <style>img{float: left; }</style>
  <script src="../js/jquery-1.4.2.js"></script>
  <script src="../js/ttclient-0.0.1.js"></script>
</head>
<body>

<script>
/*	
	ttClient.getUserInfoSim(function(data){
		alert('Sim:' + data.user + data.email);
	});

	$('#divIndicator').show();
	var user2 = ttClient.getUserInfo(function(data){
		alert('callback value:' + data['name']);
		$('#divIndicator').hide();
	});
*/
//alert(ttClient.api['user']['basic']);
//alert(ttClient.api.search.common);

	$('#divIndicator').show();
ttClient.getUserInfo(23, function(data){
	alert(ttClient.getObjectText(data));
	$("#divContainer").html(ttClient.getObjectText(data));
	$('#divIndicator').hide();
	}
);

</script>

<div id="divIndicator" class="indicator">
	<img src="../img/13221833.gif" />loading...
</div>	

<div id="divContainer"></div>
</body>
</html>